﻿<Window x:Class="frmSearch"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
    Title="Search" Height="707" Width="896" Background="Gray" WindowStyle="ToolWindow" WindowStartupLocation="CenterScreen">
    <Grid>
        <GroupBox Header="Search" Height="48" Margin="7,3,0,0" Name="GroupBox1" VerticalAlignment="Top" HorizontalAlignment="Left" Width="553">
            <Grid>
                <RadioButton Margin="6,7,0,6" Name="radClientFName" HorizontalAlignment="Left" Width="84" IsChecked="True">First Name</RadioButton>
                <RadioButton HorizontalAlignment="Left" Margin="226,8,0,5" Name="radDOB" Width="59">DOB</RadioButton>
                <RadioButton HorizontalAlignment="Left" Margin="333,8,0,5" Name="radEmail" Width="56">Email</RadioButton>
                <RadioButton HorizontalAlignment="Left" Margin="416,8,0,5" Name="radPhoneNumber" Width="67">Phone No.</RadioButton>
                <RadioButton HorizontalAlignment="Left" Margin="103,6,0,7" Name="radClientLName" Width="84">Last Name</RadioButton>
            </Grid>
        </GroupBox>
        <GroupBox Header="Cases" Margin="7,57,0,0" Name="GroupBox2" Height="48" VerticalAlignment="Top" HorizontalAlignment="Left" Width="553">
            <Grid>
                <RadioButton HorizontalAlignment="Left" Margin="6,7,0,6" IsChecked="True" Name="radCaseAll" Width="84">All Clients</RadioButton>
                <RadioButton HorizontalAlignment="Left" Margin="102,7,0,6" Name="radCaseActive" Width="100">Active Lead</RadioButton>
                <RadioButton Margin="224,7,219,6" Name="radCaseOpen">Any Open Case</RadioButton>
                <RadioButton HorizontalAlignment="Left" Margin="334,7,0,6" Name="radCaseInit" Width="59">Initiated Case</RadioButton>
            </Grid>
        </GroupBox>
        <GroupBox Header="Nationality" Height="48" Margin="7,111,0,0" Name="GroupBox3" VerticalAlignment="Top" HorizontalAlignment="Left" Width="553">
            <Grid>
                <RadioButton HorizontalAlignment="Left" Margin="6,7,0,6" IsChecked="True" Name="radNatAll" Width="51" Tag="1">All</RadioButton>
                <RadioButton HorizontalAlignment="Left" Margin="102,7,0,6" Name="radNatNonUK" Width="100" Tag="2">Non-UK</RadioButton>
                <RadioButton Margin="224,7,253,6" Name="radNatUKOnly" Tag="3">UK Only</RadioButton>
                <RadioButton HorizontalAlignment="Left" Margin="334,8,0,5" Name="radNatSelect" Width="59" Tag="4">Select</RadioButton>
                <ComboBox BorderBrush="Black" Margin="414,3,0,5" Name="drpNationality" HorizontalAlignment="Left" Width="100" />
            </Grid>
        </GroupBox>
        <Label Height="24" HorizontalAlignment="Left" Margin="6,200,0,0" Name="lblSearchCriteria" VerticalAlignment="Top" Width="108">Client Name</Label>
        <TextBox BorderBrush="Black" Height="20.8" HorizontalAlignment="Right" Margin="0,202,520,0" Name="txtSearchCriteria" VerticalAlignment="Top" Width="234" />
        <Button Height="22.8" Margin="0,200,344,0" Name="btnHistory" VerticalAlignment="Top" HorizontalAlignment="Right" Width="64">History</Button>
        <Button Height="22.8" Margin="0,200,436,0" Name="btnSearch" VerticalAlignment="Top" HorizontalAlignment="Right" Width="72" IsDefault="True">Search</Button>
        <CheckBox Height="16" Margin="366,173,0,0" Name="chkExactMatch" VerticalAlignment="Top" HorizontalAlignment="Left" Width="120">Exact  Match</CheckBox>
        <!--<Grid Margin="6,234,7,178" Name="grid2" >-->
            <!--<telerik:RadGridView Margin="6,234,7,178" Name="lvwSearchResults" AllowDrop="True" AutoGenerateColumns="True"  CanUserReorderColumns="True" CanUserSortColumns="True"  CanUserResizeColumns="True"  >
                
            </telerik:RadGridView>-->
            <!--<telerik:RadGridView Name="lvwSearchResults" Margin="6,234,7,178 " />-->
        <telerik:RadGridView Margin="6,234,7,178" Name="grdSearchResults" AllowDrop="True" AutoGenerateColumns="True"  CanUserReorderColumns="True" CanUserSortColumns="True"  CanUserResizeColumns="True"   >
        
            
        </telerik:RadGridView>
            
        <Label Height="23" HorizontalAlignment="Left" Margin="3,0,0,143" Name="Label2" VerticalAlignment="Bottom" Width="97">Records Returned</Label>
        <Label  BorderBrush="Black" Height="24" Background="White"  HorizontalAlignment="Left" Margin="126,0,0,143" Name="lblRecords" VerticalAlignment="Bottom" Width="135" BorderThickness="1" />
        <Label Height="24" HorizontalAlignment="Left" Margin="302,0,0,143" Name="lblCases" VerticalAlignment="Bottom" Width="47">Cases</Label>
        <ListView Height="151" Margin="355,0,7,12" Name="lvwCases" VerticalAlignment="Bottom" BorderBrush="Black" >
            <ListView.View >
                <GridView Selector.IsSelected="true" >
                    <GridViewColumn Header="ID" Width="100"  DisplayMemberBinding="{Binding Path=ID}" ></GridViewColumn>
                    <GridViewColumn Header="Product" Width="100" DisplayMemberBinding="{Binding Path=Product}"></GridViewColumn>
                    <GridViewColumn Header="Status" Width="100" DisplayMemberBinding="{Binding Path=Status}"></GridViewColumn>
                    <GridViewColumn Header="Candidate" Width="100"  DisplayMemberBinding="{Binding Path=Candidate}"></GridViewColumn>
                </GridView>
            </ListView.View>
        </ListView>
        <Button Height="22.8" HorizontalAlignment="Right" Margin="0,12,12,0" Name="btnClose" VerticalAlignment="Top" Width="64">Close</Button>
        <RadioButton Height="14.723" HorizontalAlignment="Left" Margin="19,174,0,0" Name="radCompanyName" VerticalAlignment="Top" Width="100">Company Name</RadioButton>
        <RadioButton Height="14.723" HorizontalAlignment="Left" Margin="142,174,0,0" Name="radExtRef" VerticalAlignment="Top" Width="89">External Ref</RadioButton>
        
    </Grid>
</Window>
